package com.showshopping.entity;
/**
 * 用户登录实体类
 * @author hfj
 * @version 1.0 2017-11-08
 *
 */
public class LoginInfoEntity {
	
	/**
	 * id
	 */
	private int userId;
	/**
	 * 用户名
	 */
	private String userName;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 获取id
	 * @return
	 */
	public int getUserId() {
		return userId;
	}
	/**
	 * 设置id
	 * @param userId
	 */
	public void setUserId(int userId) {
		this.userId = userId;
	}
	/**
	 * 获取用户名
	 * @return
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * 设置用户名
	 * @param userName
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * 获取密码
	 * @return
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * 设置密码
	 * @param password
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	
	/**
	 * 有参构造函数
	 * @param userId
	 * @param userName
	 * @param password
	 */
	public LoginInfoEntity(int userId, String userName, String password) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.password = password;
	}
	
	/**
	 * 无参构造函数
	 */
	public LoginInfoEntity() {}
	
	/**
	 * 重写toString
	 */
	@Override
	public String toString() {
		return "LoginInfoEntity [userId=" + userId + ", userName=" + userName + ", password=" + password
				+ ", getUserId()=" + getUserId() + ", getUserName()=" + getUserName() + ", getPassword()="
				+ getPassword() + ", getClass()=" + getClass() + ", hashCode()=" + hashCode() + ", toString()="
				+ super.toString() + "]";
	}
	
	

}
